package rad.framework.mda.generator.template.test.resources;

public class SecurityBeans
{
  protected static String nl;
  public static synchronized SecurityBeans create(String lineSeparator)
  {
    nl = lineSeparator;
    SecurityBeans result = new SecurityBeans();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "" + NL + "<deployment xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" + NL + "            xsi:schemaLocation=\"urn:jboss:bean-deployer bean-deployer_1_0.xsd\"" + NL + "            xmlns=\"urn:jboss:bean-deployer\">" + NL + "" + NL + "   <!-- patch for http://jira.jboss.com/jira/browse/EJBTHREE-761" + NL + "   <bean class=\"org.jboss.ejb3.embedded.JaasSecurityManagerService\"" + NL + "   -->" + NL + "   <bean class=\"rad.framework.jboss.JaasSecurityManagerService\"" + NL + "         name=\"jboss.security:service=JaasSecurityManager\">" + NL + "      <property name=\"initialContextProperties\">" + NL + "         <inject bean=\"InitialContextProperties\"/>" + NL + "      </property>" + NL + "   </bean>" + NL + "" + NL + "</deployment>";
  protected final String TEXT_2 = NL;

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    

    stringBuffer.append(TEXT_1);
    stringBuffer.append(TEXT_2);
    return stringBuffer.toString();
  }
}
